

export default function GlobalMenu({ value, onchange }) {
  return <div className='py-3'>
    <div className='flex flex-col gap-3'>
      {value.map((item, index) => <div key={index} className='p-3 border cursor-pointer  border-gray-100 border-solid' onClick={onchange?.bind(null, item, index)}>
        {item.name.zh_CN}
      </div>)}
    </div>
  </div>
}